package Day7;

public class TestP {
    public static void main(String[] args) {
        Pilot peo = new Pilot("xm");
        Airbus kePlane = new Airbus(10000,200,50);
        peo.drive(kePlane);
        kePlane.show();
        Pilot peo2 = new Pilot("wm");
        Warcraft Z = new Warcraft(2000,1000,100);
        peo2.drive(Z);
        Z.add();
        int a = Z.fa();
        System.out.println("当前导弹数量为："+a);
    }
}
